#1/usr/bin/env python

from distutils.core import setup
import os
import sys
import py2exe

a = input("1: py2exe\n2: source\n\nWhich do you wish to build?: ")
if a == 1:
    sys.argv.append('py2exe')
elif a == 2:
    sys.argv.append('sdist')


setup(name='DisableWindowsErrorReporting',
      version='0.10',
      description='placeholder',
      long_description='placeholder',
      author='Donald L. Talbert',
      author_email ='don@bwhgaming.net',
      url='placeholder',
      py_modules=['DisableWindowsErrorReporting'],
      data_files=[('.', ['.\LICENSE.txt'])],
      license='MIT',
      options = {'py2exe': {'bundle_files': 1}},
      console = [{
      'script': "DisableWindowsErrorReporting.py",
      'uac_info': "requireAdministrator",
      }],
      zipfile = None,
)